import request from "@/utils/back-request";

//获取考公年份
export function getCivilYear(data) {
  return request({
    url: "/api-career/civil/year",
    method: "post",
    data,
  });
}
//获取考公岗位列表
export function getCivilPositionList(data) {
  return request({
    url: "/api-career/civil/position/list",
    method: "post",
    data,
  });
}
//获取岗位招聘情况
export function getCivilStat(data) {
  return request({
    url: "/api-career/civil/stat",
    method: "post",
    data,
  });
}
//根据地点查找
export function getCivilSection(data) {
  return request({
    url: "/api-career/civil/section",
    method: "post",
    data,
  });
}
//根据地点查找
export function getCivilDepart(data) {
  return request({
    url: "/api-career/civil/depart",
    method: "post",
    data,
  });
}
//获取岗位信息
export function getCivilPositionInfo(data) {
  return request({
    url: "/api-career/civil/position/info",
    method: "post",
    data,
  });
}
//获取考公分数线&报名人数
export function getCivilChartData(data) {
  return request({
    url: "/api-career/civil/line",
    method: "post",
    data,
  });
}
//获取考编年份筛选项
export function getCivilTeacherYearOptions(data) {
  return request({
    url: "/api-career/teacher/est/notice/year",
    method: "post",
    data,
  });
}

//获取考编地区筛选项
export function getCivilTeacherRegionOptions(data) {
  return request({
    url: "/api-career/teacher/est/notice/region",
    method: "post",
    data,
  });
}
//获取教师考编公告列表
export function getCivilTeacherList(data) {
  return request({
    url: "/api-career/teacher/est/notice/list",
    method: "post",
    data,
  });
}
//获取编制数量
export function getCivilTeacherNum(data) {
  return request({
    url: "/api-career/teacher/est/notice/est/num",
    method: "post",
    data,
  });
}
//获取编制详情内容
export function getCivilTeacherInfo(data) {
  return request({
    url: "/api-career/teacher/est/notice/info",
    method: "post",
    data,
  });
}
